package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxInterdictCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxInterdictResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxInterdictUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxInterdictEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxInterdictConvert {

    JzdxInterdictConvert INSTANCE = Mappers.getMapper(JzdxInterdictConvert.class);

    JzdxInterdictResultDTO convert(JzdxInterdictEntity s);

    JzdxInterdictEntity create(JzdxInterdictCreateDTO s, Long tenantId);

    JzdxInterdictEntity update(JzdxInterdictUpdateDTO s);
}
